<div class="col1 w920">
          <div class="title_long text_tt p10t p25b p10l m10t"> Nyheder </div>
          <div class="panel p20r">
            <?php $k=0;for($i=0;$i<count($this->items);$i++){?>
               <?php if($k%2==0){?><div class="nyheder_content w407 p10l bd_dot_btm p10t10b float_left"><?php }else{?><div class="nyheder_content w407 p10l bd_dot_btm p10t10b float_right"><?php }?> 
                
                   <img src="<?php echo $this->items[$i]->article_image ; ?>" alt="" class="float_left img_news"/>
                  <p> <a href="index.php?option=com_content&view=article&id=<?php echo $this->items[$i]->id; ?>&layout=new_detail&Itemid=2"><b><?php echo $this->items[$i]->title;?></b></a><br />
                    <?php 
                      $a=array("01"=>"Jan","02"=>"Feb","03"=>"Mar","04"=>"Apr","05"=>"May","06"=>"Jun","07"=>"Jul","08"=>"Aug","09"=>"Sep","10"=>"0ct","11"=>"Nov","12"=>"Dec");
                      $month= substr($this->items[$i]->created,5,2);
                      $day=substr($this->items[$i]->created,8,2);
                      $year=substr($this->items[$i]->created,0,4);
                      
                   ?>
                   <i>(<?php echo $day ;?> - <?php echo $month?> - <?php echo $year;?>)</i><br />
                   <span> <?php echo $this->items[$i]->introtext ;?> </span><br />
                   <a href="index.php?option=com_content&view=article&id=<?php echo $this->items[$i]->id; ?>&layout=new_detail&Itemid=2"><img src="templates/mwc_energitek/img/btn_mere.png" alt="" /></a> </p>
               </div>
               <?php $k++;if(($i+1)%2==0){?>
                <div class="clear"></div>
               <?php }?>
              
             <?php }?>
            
          </div>
        </div>
        <div> </div>
         <script type="text/javascript" src="templates/mwc_energitek/js/lib/jquery-1.3.2.min.js"></script> 
<script type="text/javascript" src="templates/mwc_energitek/js/scrollbar/jquery.mousewheel.js"></script> 
<script type="text/javascript" src="templates/mwc_energitek/js/scrollbar/jScrollPane.min.js"></script> 
<script type="text/javascript">
			
	$(function()
	{
		$('.panel').jScrollPane({
			dragMinHeight: 57, 
			dragMaxHeight: 57,
			scrollbarMargin: 10,
			scrollbarWidth: 23 
		});
	});
	
</script> 